package com.sundi.ecmarket.service;

import com.sundi.ecmarket.dto.CategoryDto;
import com.sundi.ecmarket.entity.EcCategory;
import com.baomidou.mybatisplus.service.IService;
import com.sundi.ecmarket.vo.CategoryVo;

import java.util.List;

/**
 * <p>
 * 类目表 服务类
 * </p>
 *
 * @author Mht
 * @since 2020-02-23
 */
public interface IEcCategoryService extends IService<EcCategory> {

    List<CategoryVo> selectCateList(CategoryDto categoryDto);

    boolean deleteByCate(Integer id);

    List<EcCategory> selectParentList(CategoryDto categoryDto);

    int selectMaxId();
}
